// 创建大仓库
import Vue from 'vue';
import Vuex from 'vuex';
Vue.use(Vuex);
// 引入小仓库
import home from '@/store/modules/home.js'
import category from '@/store/modules/category.js'
import shopcart from '@/store/modules/shopcart.js'
import center from '@/store/modules/center.js'

export default new Vuex.Store({
	modules: {
		home,
		category,
		shopcart,
		center
	}
})
